package com.guodu.dao;

import java.math.BigDecimal;
import java.util.List;

import com.guodu.entity.MaterialKucun;
import com.guodu.entity.MaterialkucunStatus;
import com.guodu.entity.Units;
import com.guodu.vo.MaterialKucunQueryVo;

public interface MaterialKucunDao {
	List<MaterialKucun> findByVo(MaterialKucunQueryVo materialKucunQueryVo,Units units,int curPage , int pageSize);
	List<MaterialKucun> findAllByVo(MaterialKucunQueryVo materialKucunQueryVo,Units units);
	int findSizeByVo(MaterialKucunQueryVo materialKucunQueryVo,Units units);
	MaterialKucun findById(String id);
	void del(String id);
	void delByIds(String[] ids);
	void save(MaterialKucun entity);
	void examine(String ids,Long status);
	void update(MaterialKucun entity);
	void changeStatus(List<MaterialkucunStatus> entities);
	List<MaterialkucunStatus> findStatus(String id);
	BigDecimal findAllMoney(MaterialKucunQueryVo materialKucunQueryVo,
			Units units);
	boolean examinAll(MaterialKucunQueryVo materialKucunQueryVo,
			Units units);
	boolean huituiAll(MaterialKucunQueryVo materialKucunQueryVo,
			Units units);
	boolean shanchuAll(MaterialKucunQueryVo materialKucunQueryVo,
			Units units);
	boolean allBack(MaterialKucunQueryVo materialKucunQueryVo,
			Units units);
}
